package model

import (
	"time"
)

type AuReceivableRefund struct {
	Id               int       `xorm:"not null pk autoincr INT(10)"`
	OwnerId          int       `xorm:"not null INT(10)"`
	OrderId          int       `xorm:"not null INT(10)"`
	CarId            int       `xorm:"not null INT(10)"`
	ReceivableAmount float32   `xorm:"not null default 0.00 FLOAT(10,2)"`
	EmpId            int       `xorm:"not null INT(10)"`
	ReceivableType   int       `xorm:"not null default 0 TINYINT(2)"`
	ReceivableTime   time.Time `xorm:"not null DATETIME"`
	ReRefundType     int       `xorm:"not null default 1 TINYINT(1)"`
	Remark           string    `xorm:"VARCHAR(255)"`
	Status           int       `xorm:"not null default 1 TINYINT(2)"`
	Createtime       time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' TIMESTAMP"`
}
